package cn.cs.fallback;

import cn.cs.client.AgentCapitalPoolDetailsClient;
import cn.cs.client.RestAppSettlementClient;
import cn.cs.common.Page;
import cn.cs.pojo.AppSettlement;
import cn.cs.pojo.CapitalPoolDetails;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * 类似于try catch中的catch块中的内容，即发生错误时，处理的过程
 * 是用来发生熔断时的顶包组件,因此也必须实现接口
 * 异常时做一些处理，给用户一个交代
 * */
@Component
public class AppsettlementFallBack implements RestAppSettlementClient {


    @Override
    public Map<String, String> getAppSettlementById(String id) throws Exception {
        return null;
    }

    @Override
    public List<AppSettlement> getAppSettlementListByMap(Map<String, Object> param) throws Exception {
        return null;
    }

    @Override
    public Integer getAppSettlementCountByMap(Map<String, Object> param) throws Exception {
        return null;
    }

    @Override
    public Integer addAppSettlement(AppSettlement appSettlement) throws Exception {
        return null;
    }

    @Override
    public Integer modifyAppSettlement(AppSettlement appSettlement) throws Exception {
        return null;
    }

    @Override
    public Integer deleteAppSettlementById(String id) throws Exception {
        return null;
    }

    @Override
    public Integer updateAppSettlementState(String id, String personId) throws Exception {
        return null;
    }

}
